onUserEnterRoom()
Availability:
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.onUserEnterRoom(roomId <integer>, userObj <propList>)
Description:
The event is fired when a new user joins the current room.
Parameters:
| roomId | the id of the room where the event was fired | |
| userObj | The propertylist representing the new user |
Returns:
nothing
Example:
on onUserEnterRoom me, roomId, userObj
put("Welcome " & userObj.name)
end
See also: